package com.xtz.service;

import com.xtz.domain.Employee;

import java.util.List;

/**
 * date: 2022/5/7 18:55
 *
 * @author xietianze
 */
public interface AdminEmployeeService {
    Boolean addEmployee(Employee employee);

    Employee selectByUsername(String username);

    List<Employee> getEmployeePage(String name, Integer page, Integer pageSize);

    Long getEmployeeAmount(String name);

    Employee login(String username,String password);

    Employee selectEmployeeById(String id);

    Boolean updateEmployeeById(Employee employee);
}
